package com.ruoyi.project.ledger.service;

import java.util.List;
import com.ruoyi.project.ledger.domain.LedgerFirefightingEquipment;
import com.ruoyi.project.ledger.domain.LedgerFirefightingFacilities;

/**
 * 消防设备Service接口
 * 
 * @author ruoyi
 * @date 2020-05-11
 */
public interface ILedgerFirefightingEquipmentService 
{
    /**
     * 查询消防设备
     * 
     * @param id 消防设备ID
     * @return 消防设备
     */
    public LedgerFirefightingEquipment selectLedgerFirefightingEquipmentById(Long id);

    /**
     * 查询消防设备列表
     * 
     * @param ledgerFirefightingEquipment 消防设备
     * @return 消防设备集合
     */
    public List<LedgerFirefightingEquipment> selectLedgerFirefightingEquipmentList(LedgerFirefightingEquipment ledgerFirefightingEquipment);

    /**
     * 新增消防设备
     * 
     * @param ledgerFirefightingEquipment 消防设备
     * @return 结果
     */
    public int insertLedgerFirefightingEquipment(LedgerFirefightingEquipment ledgerFirefightingEquipment);

    /**
     * 修改消防设备
     * 
     * @param ledgerFirefightingEquipment 消防设备
     * @return 结果
     */
    public int updateLedgerFirefightingEquipment(LedgerFirefightingEquipment ledgerFirefightingEquipment);

    /**
     * 批量删除消防设备
     * 
     * @param ids 需要删除的消防设备ID
     * @return 结果
     */
    public int deleteLedgerFirefightingEquipmentByIds(Long[] ids);

    /**
     * 删除消防设备信息
     * 
     * @param id 消防设备ID
     * @return 结果
     */
    public int deleteLedgerFirefightingEquipmentById(Long id);

    public String importEquipment(List<LedgerFirefightingEquipment> equipmentList, Boolean isUpdateSupport, String operName, Long stationId);

    String checkEquipmentUnique(LedgerFirefightingEquipment ledgerFirefightingEquipment);

    String checkEquipmentUnique2(LedgerFirefightingEquipment ledgerFirefightingEquipment);
}
